home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
501-525
/
disk_524
/
kamin
/
src.lzh
/
lmkfile
< prev
next >
Wrap
Text File
|
1991-06-28
|
2KB
|
74 lines
CFLAGS = -i
LIBO = p2clib.o
LIBS = p2c/p2clib # LMK sucks rocks
CCFLAGS = $(CFLAGS) -L -M
GOALS = chap1 lisp apl sasl scheme clu smalltalk prolog
goal: $(GOALS)
@echo done
clean:
delete quiet force $(GOALS) \#?.o test.\#?.out
amiga.lzh: $(GOALS) README.amiga
-delete quiet amiga.lzh
lharc -a a amiga $(GOALS) README.amiga
p2clib.o: p2c/p2clib.c p2c/p2c.h
$(CC) $(CFLAGS) p2c/p2clib
copy p2c/p2clib.o p2clib.o
chap1: chap1.c $(LIBO)
$(CC) $(CCFLAGS) chap1.c $(LIBS)
chap1 < code.ch1 > test.ch1.out
diff test.ch1.out code.ch1.out
delete quiet force test.\#?.out
lisp: lisp.c $(LIBO)
$(CC) $(CCFLAGS) lisp.c $(LIBS)
lisp < code.lsp > test.lsp.out
diff test.lsp.out code.lsp.out
delete quiet force test.\#?.out
apl: apl.c $(LIBO)
$(CC) $(CCFLAGS) apl.c $(LIBS)
apl < code.apl > test.apl.out
diff test.apl.out code.apl.out
delete quiet force test.\#?.out
clu: clu.c $(LIBO)
$(CC) $(CCFLAGS) clu.c $(LIBS)
clu < code.clu > test.clu.out
diff test.clu.out code.clu.out
delete quiet force test.\#?.out
scheme: scheme.c $(LIBO)
$(CC) $(CCFLAGS) scheme.c $(LIBS)
scheme < code.sch > test.sch.out
diff test.sch.out code.sch.out
delete quiet force test.\#?.out
smalltalk: smalltalk.c $(LIBO)
$(CC) $(CCFLAGS) smalltalk.c $(LIBS)
smalltalk < code.smt > test.smt.out
diff test.smt.out code.smt.out
delete quiet force test.\#?.out
sasl: sasl.c $(LIBO)
$(CC) $(CCFLAGS) sasl.c $(LIBS)
sasl < code.ssl > test.ssl.out
diff test.ssl.out code.ssl.out
delete quiet force test.\#?.out
prolog: prolog.c $(LIBO)
$(CC) $(CCFLAGS) prolog.c $(LIBS)
prolog < code1.pro > test.pro.out
diff test.pro.out code1.pro.out
prolog < code2.pro > test.pro.out
diff test.pro.out code2.pro.out
delete quiet force test.\#?.out
.p.c:
p2c $*.p